package ua.maxicash.service;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import ua.maxicash.dao.AppDao;
import ua.maxicash.dao.EmployerDao;
import ua.maxicash.dao.WorkerDao;
import ua.maxicash.vo.SystemUser;

@Service("userSecurityService")
public class UserSecurityServiceImpl implements UserSecurityService {

	@Autowired
    AppDao appDao;

	@Override
	public SystemUser getSystemUserByCredentials(String email) {

		return appDao.getSystemUserByEmail(email);

	}

}
